package com.hy.domain;


public class User {

	private String name;
	private int age;
	private String description;

	private Car car;

	public User() {

	}


	public User(String name, int age, String description) {
		this.name = name;
		this.age = age;
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	@Override
	public String toString() {
		return "User{" +
				"name='" + name + '\'' +
				", age=" + age +
				", description='" + description + '\'' +
				", car=" + car +
				'}';
	}
}
